a5cs_prompt_surrogatekey Function

Syntax

P a5cs_prompt_surrogateKey(P cn ,C tablename ,C tableowner [,C currentSurrogateKey [,C columnList [,L flagAllowAbort ]]])

Arguments

cn

Pointer

tablename

Character

tableowner

Character

currentSurrogateKey

Character

columnList

Character

flagAllowAbort

Logical

Description

Checks to see if a table has a primary key. If not, prompts for a surrogate primary key.